package com.jd.org.service.impl;


import com.jd.basic.service.impl.BaseServiceImpl;
import com.jd.org.domain.ShopAuditLog;
import com.jd.org.mapper.ShopAuditLogMapper;
import com.jd.org.service.IShopAuditLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class ShopAuditLogServiceImpl extends BaseServiceImpl<ShopAuditLog> implements IShopAuditLogService {
    @Autowired
    private ShopAuditLogMapper auditMapper;

    @Override
    public List<ShopAuditLog> findByIdAll(Long id) {
        return auditMapper.findByIdAll();
    }

    @Override
    public List<ShopAuditLog> findShopLogs(Long id) {
        return auditMapper.findShopLogs(id);
    }
}
